<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>User Management System</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link href="style.css" rel="stylesheet" media="all" />
	<link href="#" rel="stylesheet" title="style" media="all" />
	<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="js/superfish.js"></script>
	<script type="text/javascript" src="js/jquery-ui-1.7.2.js"></script>
	<script type="text/javascript" src="js/tooltip.js"></script>
	<script type="text/javascript" src="js/cookie.js"></script>
	<script type="text/javascript" src="js/custom.js"></script>
	<!--[if IE 6]>
	<link href="css/ie6.css" rel="stylesheet" media="all" />
	
	<script src="js/pngfix.js"></script>
	<script>
	  /* EXAMPLE */
	  DD_belatedPNG.fix('.logo, .other ul#dashboard-buttons li a');

	</script>
	<![endif]-->
	<!--[if IE 7]>
	<link href="css/ie7.css" rel="stylesheet" media="all" />
	<![endif]-->
	<s:head theme="simple" />
  </head>
  
  <body>
  <div id="welcome_login" title="Welcome to eGoblet">
  <p><b>eGoblet</b> is a <b>lightweight</b>, fully and easily customisable <b>administration user interface</b>. Please proceed to the action panel by signing in!</p>
		<%--div class="response-msg error ui-corner-all">
			<span>Error message</span>
			Lorem ipsum dolor sit amet, consectetuer adipiscing elit
		</div--%>
		<%--div class="response-msg success ui-corner-all">
			<span>Success message</span>
			Lorem ipsum dolor sit amet, consectetuer adipiscing elit
		</div--%>
		<%--form action="#" method="post" enctype="multipart/form-data" class="forms" name="form" >
			<ul>
				<li>
					<label for="email" class="desc">

						Email:
					</label>
					<div>
						<input type="text" tabindex="1" maxlength="255" value="" class="field text full" name="email" id="email" />
					</div>
				</li>
				<li>
					<label for="password" class="desc">
						Password:
					</label>

					<div>
						<input type="text" tabindex="1" maxlength="255" value="" class="field text full" name="password" id="password" />
					</div>
				</li>
			</ul>
		</form--%>
		<%--s:form action="/login.action" theme="simple" cssClass="forms" --%>
		<ul>
				<li>
					<label for="email" class="desc">
						<s:text name="user.login.name"/>
					</label>
					<div>
						<s:textfield tabindex="1" name="username" maxlength="255" cssClass="field text full" />
					</div>
				</li>
				<li>
					<label for="password" class="desc">
						<s:text name="user.login.password"/>
					</label>

					<div>
						<s:password tabindex="2" name="password" cssClass="field text full" maxlength="255" />
					</div>
				</li>
			</ul>
		<%--/s:form--%>
  <%--table align="center">
		<tr>
			<td style="width: 100%; background-color: gray; border-right-style: ridge; outline-style: ridge; margin-top: 100px;">
				<s:form action="/login.action" theme="simple" >
					<table style="width: 100%; text-align: center;">
					  <tr><td colspan="2"><br/></td></tr>
					  <tr>    		
						<td><tt><s:text name="user.login.name"/></tt></td>
					    <td><tt><s:textfield name="username"/></tt></td>
					  </tr>
					  <tr><td colspan="2"><br/></td></tr>
					  <tr>
					    <td><tt><s:text name="user.login.password"/></tt></td>
					    <td><tt><s:textfield name="password"/></tt></td>
					  </tr>    	
					  <tr><td colspan="2"><br/></td></tr>
					  <tr>
					    <td><tt><s:submit key="user.login.signIn" name="action"/></tt></td>
					    <td><tt><s:submit key="user.button.cancel" name="action"/></tt></td>
					  </tr>
					</table>
				</s:form>
			</td>
		</tr>
	</table--%>
	</div>
  <%--div style="width: 40%; background-color: aqua; position: relative; margin-left: 380px; margin-top: 100px;">
   <s:form action="/login.action" theme="simple" >
	<table style="width: 100%; text-align: center;">
	  <tr><td colspan="2"><br/></td></tr>
	  <tr>    		
		<td><tt><s:text name="user.login.name"/></tt></td>
	    <td><tt><s:textfield name="username"/></tt></td>
	  </tr>
	  <tr><td colspan="2"><br/></td></tr>
	  <tr>
	    <td><tt><s:text name="user.login.password"/></tt></td>
	    <td><tt><s:textfield name="password"/></tt></td>
	  </tr>    	
	  <tr><td colspan="2"><br/></td></tr>
	  <tr>
	    <td><tt><s:submit key="user.login.signIn" name="action"/></tt></td>
	    <td><tt><s:submit key="user.button.cancel" name="action"/></tt></td>
	  </tr>
	  <tr><td colspan="2"><br/></td></tr>
	</table>
	</s:form>
  </div--%>
  </body>
</html>
